//
//  ViewMacro.swift
//  invest_account_books
//
//  Created by volientDuan on 2017/11/17.
//  Copyright © 2017年 volient. All rights reserved.
//

import UIKit

// MARK: - 常用frame值

// 屏幕高度
let SCREEN_HEIGHT = UIScreen.main.bounds.height
// 屏幕宽度
let SCREEN_WIDTH = UIScreen.main.bounds.width

//根据键盘监控  获取键盘高度
func getKeyBoardHeight(_ aNotification:NSNotification)->CGFloat{
    let uInfo: NSDictionary = aNotification.userInfo as NSDictionary!
    let avalue = uInfo["UIKeyboardFrameEndUserInfoKey"] as! NSValue
    let keyrect : CGRect = avalue.cgRectValue
    let keyheight : CGFloat = keyrect.size.height
    return keyheight
}

// MARK: - Font

let ITabbarFont: UIFont = UIFont.systemFont(ofSize: 14.0)


class ViewMacro: UIView {

}
